package com.mini.config;

/**
 * @author zl
 * @version 1.0
 * @date Created in 2020/2/27
 */
public class BaseException extends RuntimeException {

    private Long userId;

    public BaseException() {
        super();
    }

    public BaseException(Throwable cause) {
        super(cause);
    }

    public BaseException(String message) {
        super(message);
    }

    public BaseException(String message, Throwable throwable) {
        super(message, throwable);
    }


    public BaseException(Long userId, String message) {
        super(message);
        this.userId = userId;
    }

    public BaseException(Long userId, Throwable cause) {
        super(cause);
        this.userId = userId;
    }

    public BaseException(Long userId, String message, Throwable cause) {
        super(message, cause);
        this.userId = userId;
    }

}
